package david.qt.app;

import java.awt.DisplayMode;

import com.trolltech.qt.gui.QMainWindow;
import com.trolltech.qt.gui.QMenu;
import com.trolltech.qt.gui.QMenuBar;

public class Application extends QMainWindow{

	public Application() {
		
		super();
		this.show();
		this.resize(800,600);
		
	}
	
	public void createMenu() {
		
		QMenuBar menuBar  = new QMenuBar(this);
		menuBar.show();
		
		QMenu menuFile = new QMenu(menuBar);
		menuFile.show();
		
		menuFile.addMenu("Open");
		
		
		
	}
	
}
